import dayjs from 'dayjs'

// 时间格式化
export function timeFilter(timestamp, format = 'YYYY-MM-DD HH:mm:ss') {
  return dayjs(timestamp).format(format)
}
